package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("xu_department")
public class DepartmentEntity {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @TableField("depart_name")
    private String departName;
}
